package com.zynn.service.module.es.dao;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.zynn.service.module.es.bo.DegOneFrientWithWeight;
import com.zynn.service.module.es.entity.Comments;
import com.zynn.service.module.es.entity.ProductBaseUserCache;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 刘猛
 * @since 2018-10-09
 */
@Mapper
public interface ProductBaseUserCacheMapper extends BaseMapper<ProductBaseUserCache> {

void insertProductBaseRecommendUsers2CacheTable(@Param("sequenceId") Long sequenceId,@Param("userId") Long userId,@Param("memberCount") Integer memberCount);

List<DegOneFrientWithWeight> queryUserRecommendCondOne(Map<String,Object> params);
List<DegOneFrientWithWeight> queryUserRecommendCondTwo(Map<String,Object> params);
List<DegOneFrientWithWeight> queryUserRecommendCondThree(Map<String,Object> params);
List<DegOneFrientWithWeight> queryUserRecommendCondFour(Map<String,Object> params);
List<DegOneFrientWithWeight> queryUserRecommendCondFive(Map<String,Object> params);
List<DegOneFrientWithWeight> queryUserRecommendCondSix(Map<String,Object> params);
List<DegOneFrientWithWeight> queryUserRecommendCondSeven(Map<String,Object> params);
List<DegOneFrientWithWeight> queryUserRecommendCondEight(Map<String,Object> params);
List<DegOneFrientWithWeight> queryUserRecommendCondNine(Map<String,Object> params);
List<DegOneFrientWithWeight> queryUserRecommendCondTen(Map<String,Object> params);
List<DegOneFrientWithWeight> queryUserRecommendCondEleven(Map<String,Object> params);
List<DegOneFrientWithWeight> queryUserRecommendCondTwelve(Map<String,Object> params);
List<DegOneFrientWithWeight> queryUserRecommendCondThirteen(Map<String,Object> params);
List<DegOneFrientWithWeight> queryUserRecommendCondFourteen(Map<String,Object> params);
}
